//
//  tTask.h
//
//  Created on: 2019年7月16日
//  Author: lucfa
//

#ifndef __TINIT_H
#define __TINIT_H

#include <stdint.h>

//#include "AppInit.h"


/////////////////系统任务/////////////////
#define Task0Sub0                   DoNop
#define Task0Sub1                   DoNop
#define Task0Sub2                   DoNop
#define Task0Sub3                   DoNop
#define Task0Sub4                   DoNop
#define Task0Sub5                   DoNop
#define Task0Sub6                   DoNop
#define Task0Sub7                   DoNop

/////////////////控制任务/////////////////
#define Task1Sub0                   DoNop
#define Task1Sub1                   DoNop
#define Task1Sub2                   DoNop
#define Task1Sub3                   DoNop
#define Task1Sub4                   DoNop
#define Task1Sub5                   DoNop
#define Task1Sub6                   DoNop
#define Task1Sub7                   DoNop

/////////////////传感任务/////////////////
#define Task2Sub0                   DoNop
#define Task2Sub1                   DoNop
#define Task2Sub2                   DoNop
#define Task2Sub3                   DoNop
#define Task2Sub4                   DoNop
#define Task2Sub5                   DoNop
#define Task2Sub6                   DoNop
#define Task2Sub7                   DoNop

/////////////////存储任务/////////////////
#define Task3Sub0                   DoNop
#define Task3Sub1                   DoNop
#define Task3Sub2                   DoNop
#define Task3Sub3                   DoNop
#define Task3Sub4                   DoNop
#define Task3Sub5                   DoNop
#define Task3Sub6                   DoNop
#define Task3Sub7                   DoNop

/////////////////数据任务/////////////////
#define Task4Sub0                   DoNop
#define Task4Sub1                   DoNop
#define Task4Sub2                   DoNop
#define Task4Sub3                   DoNop
#define Task4Sub4                   DoNop
#define Task4Sub5                   DoNop
#define Task4Sub6                   DoNop
#define Task4Sub7                   DoNop

/////////////////外设任务/////////////////
#define Task5Sub0                   DoNop
#define Task5Sub1                   DoNop
#define Task5Sub2                   DoNop
#define Task5Sub3                   DoNop
#define Task5Sub4                   DoNop
#define Task5Sub5                   DoNop
#define Task5Sub6                   DoNop
#define Task5Sub7                   DoNop

/////////////////其他任务/////////////////
#define Task6Sub0                   DoNop
#define Task6Sub1                   DoNop
#define Task6Sub2                   DoNop
#define Task6Sub3                   DoNop
#define Task6Sub4                   DoNop
#define Task6Sub5                   DoNop
#define Task6Sub6                   DoNop
#define Task6Sub7                   DoNop

/////////////////闲置任务/////////////////
#define Task7Sub0                   DoNop
#define Task7Sub1                   DoNop
#define Task7Sub2                   DoNop
#define Task7Sub3                   DoNop
#define Task7Sub4                   DoNop
#define Task7Sub5                   DoNop
#define Task7Sub6                   DoNop
#define Task7Sub7                   DoNop




#ifdef __cplusplus
extern "C" {
#endif


void DoNop(void);

uint8_t MaskTask0(uint8_t prio);
uint8_t MaskTask1(uint8_t prio);
uint8_t MaskTask2(uint8_t prio);
uint8_t MaskTask3(uint8_t prio);
uint8_t MaskTask4(uint8_t prio);
uint8_t MaskTask5(uint8_t prio);
uint8_t MaskTask6(uint8_t prio);
uint8_t MaskTask7(uint8_t prio);




#ifdef __cplusplus
}
#endif

#endif // __TINIT_H
